//
//  ITCrossView.h
//  InTubePro
//
//  Created by seven on 2020/5/12.
//  Copyright © 2020 seven. All rights reserved.
//

#import "BaseView.h"

NS_ASSUME_NONNULL_BEGIN

CGFloat CGPointGetDistanceToPoint(CGPoint p1, CGPoint p2) ;

#define AutoAnchorOffsetSpace 10.0
#define GKLOG NSLog

#define KScreenWidth ([UIScreen mainScreen].bounds.size.width)

@interface ITCrossView : UIView

@property(nonatomic, copy)void (^customAction)(id obj, int idx);//自定义block



@property (assign, nonatomic) BOOL crossLinesEnable;
@property (assign, nonatomic) BOOL showCrossLines;
@property (strong, nonatomic) CAShapeLayer *crossLineLayer;
@property (assign, nonatomic) CGFloat crossLineWidth;
@property (strong, nonatomic) UIColor *crossLineColor;
@property (assign, nonatomic) NSInteger crossLineNumber;

- (void)initView;

@end

NS_ASSUME_NONNULL_END
